package com.hnevc.usbdemo;

public class Test {
	public static void main(String[] args) {
		Usb mouse = new Mouse();
		Usb keyboard = new KeyBoard();
		Usb uDisk = new UDisk();
		
		Computer computer = new Computer(); 
		computer.add(mouse);
		computer.add(uDisk);
		computer.add(keyboard);
		
		computer.powerOn();
		computer.powerOff();
	}
}
